package com.example.entity;

import java.util.Date;

public class User {
	int uid;//用户编号
	String uname;//用户昵称
	String urname;//用户姓名
	String upassword;//用户密码
	String utel;//用户电话
	String usex;//用户性别
	Date ubirthday;//用户生日
	String uemail;//用户邮箱
	int uage;//用户年龄
	int upower;//用户权限
	
	public User() {	
	}

	public User(int uid, String uname, String urname, String upassword, String utel, String usex, Date ubirthday,
			String uemail, int uage, int upower) {
		this.uid = uid;
		this.uname = uname;
		this.urname = urname;
		this.upassword = upassword;
		this.utel = utel;
		this.usex = usex;
		this.ubirthday = ubirthday;
		this.uemail = uemail;
		this.uage = uage;
		this.upower = upower;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getUrname() {
		return urname;
	}

	public void setUrname(String urname) {
		this.urname = urname;
	}

	public String getUpassword() {
		return upassword;
	}

	public void setUpassword(String upassword) {
		this.upassword = upassword;
	}

	public String getUtel() {
		return utel;
	}

	public void setUtel(String utel) {
		this.utel = utel;
	}

	public String getUsex() {
		return usex;
	}

	public void setUsex(String usex) {
		this.usex = usex;
	}

	public Date getUbirthday() {
		return ubirthday;
	}

	public void setUbirthday(Date ubirthday) {
		this.ubirthday = ubirthday;
	}

	public String getUemail() {
		return uemail;
	}

	public void setUemail(String uemail) {
		this.uemail = uemail;
	}

	public int getUage() {
		return uage;
	}

	public void setUage(int uage) {
		this.uage = uage;
	}

	public int getUpower() {
		return upower;
	}

	public void setUpower(int upower) {
		this.upower = upower;
	}

	@Override
	public String toString() {
		return "User [uid=" + uid + ", uname=" + uname + ", urname=" + urname + ", upassword=" + upassword + ", utel="
				+ utel + ", usex=" + usex + ", ubirthday=" + ubirthday + ", uemail=" + uemail + ", uage=" + uage
				+ ", upower=" + upower + "]";
	}
}
